package org.example.mapper;

import io.lettuce.core.dynamic.annotation.Param;
import org.example.pojo.entity.ApComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.pojo.vo.CommentVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-01-26
 */
public interface ApCommentMapper extends BaseMapper<ApComment> {

    List<ApComment> getCommentFirstList(@Param("newsId") String newsId);

    List<CommentVo> getCommentList(String newsId);
}
